package com.lu.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lu.eneity.User;
import com.lu.repository.UserRepository;

@Service
public class UserService {
	private @Autowired UserRepository userRepository;

	public List<User> getUsers() {

		return userRepository.findAll();

	}

}
